let goodsController = require("../../controllers/manage/goodsController");
module.exports = [
    {
        method: 'get',
        path: '/manage/goods/getAll',
        controller: goodsController.getAll
    },
    {
        method: 'get',
        path: `/manage/goods/getDataById`,
        controller: goodsController.getDataById
    },
    {
        method: 'post',
        path: '/manage/goods/add',
        controller: goodsController.add
    },
    {
        method: 'post',
        path: '/manage/goods/edit',
        controller: goodsController.edit
    },
    {
        method: 'get',
        path: '/manage/goods/realDel',
        controller: goodsController.realDel
    },
    {
        method: 'post',
        path: '/manage/goods/getPagination',
        controller: goodsController.getPagination
    }
]